//
//  RocRemoteControlView.h
//  RocRemoteControlProject
//
//  Created by 新致李照鹏 on 2018/12/18.
//  Copyright © 2018年 Roc. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef enum : NSUInteger {
    RocRemoteControlViewButtonSwitch,
    RocRemoteControlViewButtonGO,
    RocRemoteControlViewButtonUp,
    RocRemoteControlViewButtonDown,
    RocRemoteControlViewButtonLeft,
    RocRemoteControlViewButtonRight,
} RocRemoteControlViewButtonType;

@class RocRemoteControlView;
@protocol RocRemoteControlViewDelegate <NSObject>

- (void)RocRemoteControlView:(RocRemoteControlView *)view ClickButton:(RocRemoteControlViewButtonType)type;

@end

@interface RocRemoteControlView : UIView

@property (nonatomic, weak) id<RocRemoteControlViewDelegate>mydelegate;

@end

NS_ASSUME_NONNULL_END
